Muscle cramps are involuntary, often painful contractions of the muscles which produce a hard, bulging muscle. Muscle twitching or fasciculation is the result of spontaneous local muscle contractions that are not voluntary and typically only affect individual muscle groups innervated by (connected to) a particular motor neuron. This twitching does not cause pain.